<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2018/8/6
 * Time: 17:26
 */
namespace App\Http\Controllers\Admin\Auth;

use App\Http\Controllers\Controller;
use App\Libraries\Weapp\WeappLib;

class authController extends Controller
{

    public function index()
    {
        $code = WeappLib::getSessionKey('023iJ51Y0d6Uo22z5E1Y0n641Y0iJ51l');
        print_r($code);die;
        $sess = json_decode($code);
        print_r($sess);die;
    }

}